package com.awesomeproject.module

import com.yupao.loki.MagicLib

object NetDefenseUtils {
    //测试站
    const val MODE_A = 0

    fun getNetDefense(token: String?, version: String?): NetDefense {
        var mode = MODE_A
        val result = MagicLib.convertObject(mode, 0, token, version)
        return NetDefense(result?.data1, result?.data2)
    }
}

class NetDefense (val nonce: String?, val sign: String?)